package com.xc.freeapp.common;

import java.io.Serializable;
/**
 * 封装返回数据信息
 * 
 * @author ZhouXinjie
 * 
 */
public class ResponseBean  implements Serializable {

    private static final long serialVersionUID = -1633194767519681742L;
    private static String SUCCESS="200";

    
    private String Code=SUCCESS;
    private String Msg;
    public String getCode() {
		return Code;
	}
	public void setCode(String code) {
		Code = code;
	}
	
	public static ResponseBean getSuccess(){
		return new ResponseBean(SUCCESS,"操作成功");
	}
	public ResponseBean(String code, String msg) {
		super();
		Code = code;
		Msg = msg;
	}
	public String getMsg() {
		return Msg;
	}
	public void setMsg(String msg) {
		Msg = msg;
	}
	
	
	
	
}